/**
 * Created by yuris on 19.12.14.
 */
package components {
import ShopObjects.AbstractGameObjectView;

import layers.GameLayer;

import model.objects.ShopObjectData;

public class AbstractGameObjectComponent {
    private var _gameLayer:GameLayer;
    private var _model:ShopObjectData;
    protected var _view:AbstractGameObjectView;

    public function AbstractGameObjectComponent(gameLayer:GameLayer, shopObjectData:ShopObjectData) {
        this._gameLayer = gameLayer;
        this._model = shopObjectData;
    }

    public function get gameLayer():GameLayer {
        return _gameLayer;
    }

    public function get model():ShopObjectData {
        return _model;
    }

    public function get view():AbstractGameObjectView {
        return _view;
    }
}
}
